#pragma once
class CTimer
{
private:
	double		m_dElapsedTime; // stored time
	bool		m_bIsRunning;
	long long	m_llStartTick;
	long long	m_llFrequency; // how many ticks per second
	
	// for fps
	int				m_nFrameCount;
	unsigned long	m_dwFPSTimeStamp;
	int				m_nFPS;

public:
	CTimer(void);

	//stop watch functions
	void Start(void);
	void Stop(void);
	void Reset(void);
	int  FPS(void);

	double GetElapsedTime(void);
};
